<{capture name="listHeader"}>
  <div class="span-2"><{t}>购买数量<{/t}></div>
<{/capture}>
<{capture name="listBody"}>
  <div>
  <{$item.spec_info}>&nbsp;&nbsp;<{t}>销售价：<{/t}><{$item.price|cur_odr}>&nbsp;&nbsp;<{t}>可售库存：<{/t}><{$item.store-$item.freez}>
    <{if $item.isXianhuo == 1}>
    	<{input name="goodsnum[{$id}]" value=0 type="positive"  readonly="readonly"  max=$item.store-$item.freez style="width:50px;text-align:right" }>
    <input type="hidden" name="goodsKucun[<{$id}>]" value="<{$item.store-$item.freez}>">
    <input type="hidden" name="goodsmadan_ids[<{$id}>]"><input type="hidden" name="goodsjuanshu[<{$id}>]">
    <input type="hidden" name="goodsPei[<{$id}>]">
    <input type="hidden" name="goodsClient[<{$id}>]">
      <span  class=" btn btn-primary" style="width:100px; height:22px; line-height:20px; text-align:center; "><span onclick="picking(<{$id}>)">我要配货</span></span>
      <span  class="btn btn-primary" style="width:100px; height:22px; line-height:20px; text-align:center; "><span onclick="pickPeihuo(<{$id}>)">配货单选择</span></span>
    </div>
    <{else}> 
      <input type="hidden" name="goodsKucun[<{$id}>]" value="<{$item.store-$item.freez}>">
    	<{input name="goodsnum[{$id}]" value=1 type="positive" required="true" max=$item.store-$item.freez style="width:50px;text-align:right" }>
    <{/if}>
   </div>
<{/capture}>
